        var count = 0;
        var vue=new Vue({
            el:'.view_box',
            data:{
                userID:'',
                searchName:'',
                allUser:[],
            },
            computed:{
                
            },
            created:function (){ 
                //this.userID=window.android.getUserId();
            },
            methods:{
                //刷新邮件
                refreshMail:function(jsonArray){
                var json = JSON.stringify(jsonArray, null, 4)
                this.allUser=JSON.parse(json).data;
                //console.log(this.allUser)
                },
            }
        });
        window.refreshMail= function(jsonArray){
            vue.refreshMail(jsonArray);
        }
        window.toBack = function(User){
            if(count == 0){
                window.android.toBack(User.id,User.icon);
                count = 1;
            
                flag=setTimeout(function(){
                    count = 0;
                },300); 
            }
        }
